package com.ncu.servicetest;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

public class Broadcast2 extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        //发出短消息
        Toast.makeText(context, "服务关闭", Toast.LENGTH_LONG).show();
    }
}
